﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.DataAccess;
using BLToolkit.Mapping;

namespace Entities
{
    [TableName("NhanVien")]
    public class NhanVien
    {
        /// <summary>
        /// khai báo dữ liệu
        /// </summary>
        [MapField("MaNhanVien"), PrimaryKey]
        public string MaNhanVien { get; set; }
        [MapField("HoTen")]
        public string HoTen { get; set; }
        [MapField("ChucVu")]
        public string ChucVu { get; set; }
        [MapField("NgaySinh")]
        public DateTime NgaySinh { get; set; }
        [MapField("SoDienThoai")]
        public int SoDienThoai { get; set; }
        [MapField("DiaChi")]
        public string DiaChi { get; set; }
        [MapField("GioiTinh")]
        public string GioiTinh { get; set; }
        [MapField("LuongCoBan")]
        public float LuongCoBan { get; set; }
        [MapField("Username")]
        public string Username { get; set; }
        [MapField("TrangThai")]
        public string TrangThai {get;set;}
    }
}
